#ifndef _ENTITY_MANAGER_
#define _ENTITY_MANAGER_

#include "Entity.h"
#include <list>

namespace Engine
{
	class EntityManager
	{
	public:
		EntityManager();

		Entity* getEntity(int id);
		std::list<Entity*>* getEntities(){return &EntList;}

		int getNumberOfEntries(){return EntList.size();}

		bool registerEntity(Entity* ent);

	private:
		std::list<Entity*> EntList;
	protected:
	};
	static EntityManager*	entityManager;
}
#endif